package struct.linkedList;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @description: 有限大小的链表
 * @author: kanggw
 * @date: 2024/3/13
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
public class LimitLinkNode {

    private int length;
    private int count;

    private LimitLinkNode current;
    private LimitLinkNode next;

    public LimitLinkNode(int length) {
        this.length = length;
        this.count = 0;
    }

    public static void put(Integer value) {


    }

}
